package com.xidian.zhiancloud.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 应急队伍管理
 */
@Data
@TableName("t_emergency_team_management")

public class EmergencyTeamManagement {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 多租户id
     */
    private Long companyId;

    /**
     * 应急队伍名称
     */
    @Excel(name = "应急队伍名称",needMerge = true,orderNum = "1")
    private String name;

    /**
     * 成立时间
     */
    @Excel(name = "成立时间",needMerge = true,orderNum = "2",format = "yyyy-mm-dd")
    private Date createTime;

    /**
     * 应急职责
     */
    @Excel(name = "应急职责",needMerge = true,orderNum = "3")
    private String duty;

    /**
     * 所属单位/部门id
     */
    private Long organizationId;

    /**
     * 添加人员id
     */
    private Long adderId;

    /**
     * 添加时间
     */
    private Date addTime;

    /**
     * 附件url，多个url用逗号分割
     */
    private String annexUrls;
}